<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset={?$jieqi_charset?}" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-touch-fullscreen" content="yes" />
<meta name="apple-mobile-web-app-title" content="{?$jieqi_sitename?}" />
<meta name="keywords" content="{?$meta_keywords?}" />
<meta name="description" content="{?$meta_description?}" />
<meta name="author" content="{?$meta_author?}" />
<meta name="copyright" content="{?$meta_copyright?}" />
<meta name="generator" content="jieqi.com" />
<meta name="layoutmode" content="standard" />
<title>{?$jieqi_pagetitle?}</title>
<link rel="stylesheet" href="{?$jieqi_themeurl?}style.css" type="text/css" media="all" />
<script type="text/javascript" src="{?$jieqi_url?}/scripts/common.js"></script>
<script type="text/javascript" src="{?$jieqi_url?}/scripts/theme.js"></script>
{?$jieqi_head?}
</head>
<body>
{?if $jieqi_contenttitle != ''?}
<div class="pagetitle cf"><a href="{?if $jieqi_urlback != ''?}{?$jieqi_urlback?}{?else?}javascript:if(history.length > 1) history.back(); else document.location.href='{?$jieqi_url?}/';{?/if?}"><i class="iconfont fl">&#xee69;</i></a><a href="{?$jieqi_url?}/"><i class="iconfont fr">&#xee27;</i></a><span id="pagettext">{?$jieqi_contenttitle?}</span></div>
{?else?}
<div class="header cf">
	<div class="logo">
		<a href="{?$jieqi_url?}/"><img src="{?$jieqi_themeurl?}logo.png" border="0" alt="{?$jieqi_sitename?}" /></a>
	</div>
	<div class="banner">
		{?if $jieqi_userid == 0?}
		<a href="{?if $jieqi_browser == 'weixin'?}{?$jieqi_url?}/api/wxmp/login.php?jumpurl={?$jieqi_url|urlencode?}%2Fuserdetail.php{?else?}{?$jieqi_user_url?}/login.php?jumpurl={?$jieqi_url|urlencode?}%2Fuserdetail.php{?/if?}" class="iconfont" title="登录">&#xee21;</a>
		<a href="{?$jieqi_modules['article']['url']?}/recentread.php" class="iconfont" title="最近阅读">&#xee43;</a>
		{?else?}
		<a href="{?$jieqi_user_url?}/userdetail.php" class="iconfont" title="会员">&#xee21;</a>
		<a href="{?$jieqi_modules['article']['url']?}/bookcase.php" class="iconfont" title="书架">&#xee43;</a>
		{?/if?}
	</div>
</div>
<div class="mainnav cf">
	<ul class="df">
	<li><a href="{?$jieqi_modules['article']['url']?}/articlefilter.php">书库</a></li>
	<li><a href="{?$jieqi_modules['article']['url']?}/sortselect.php">分类</a></li>
	<li><a href="{?$jieqi_modules['article']['url']?}/top.php">排行</a></li>
	<li><a href="{?$jieqi_modules['article']['url']?}/toplist.php?fullflag=1">全本</a></li>
	<li><a href="{?$jieqi_modules['pay']['url']?}/buyegold.php">充值</a></li>
	</ul>
</div>
{?/if?}

{?if $jieqi_contents != ""?}<div id="content">{?$jieqi_contents?}</div>{?/if?}

{?section name=i loop=$jieqi_pageblocks?}
{?if $jieqi_pageblocks[i].side >= 0?}
{?if $jieqi_pageblocks[i].title != ""?}
<div class="block">
	<div class="blocktitle">{?$jieqi_pageblocks[i].title?}</div>
	<div class="blockcontent">{?$jieqi_pageblocks[i].content?}</div>
</div>
{?else?}
<div class="blockc">{?$jieqi_pageblocks[i].content?}</div>
{?/if?}
{?/if?}
{?/section?}

<div class="footer">
Powered by <strong><a href="http://www.jieqi.com">JIEQI CMS</a></strong><br /> &copy;2004-{?$jieqi_time|date:'Y'?} <a href="http://www.jieqi.com">杰奇网络（jieqi.com）</a>
<br />Processed in {?$jieqi_exetime?} second(s). 
</div>

<div><a class="gotop" id="gotop" href="javascript:scroll(0,0);"><i class="iconfont">&#xee6b;</i></a></div>
<script type="text/javascript">
window.onscroll = function(){
	if(document.body.scrollTop || document.documentElement.scrollTop > 0) document.getElementById('gotop').style.display = 'block';
	else document.getElementById('gotop').style.display = 'none';
}
</script>

</body>
</html>